package com.pricy.me.model;

import com.atermenji.android.iconictextview.icon.EntypoIcon;
import com.atermenji.android.iconictextview.icon.FontAwesomeIcon;
import com.atermenji.android.iconictextview.icon.Icon;


public class Category {
	private int id;
	private String title;
	
	public Category(int id, String title) {
		super();
		this.id = id;
		this.title = title;
	}
	public Category(int i) {
		id = i;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	public Icon getIcon(){
		switch (this.id) {
		case 7:
			return EntypoIcon.PALETTE;
		case 10:
			return FontAwesomeIcon.DASHBOARD;
		case 6:
			return FontAwesomeIcon.GIFT;
		case 5:
			return FontAwesomeIcon.HOME;
		case 11:
			return EntypoIcon.GRADUATION_CAP;
		case 12:
			return FontAwesomeIcon.SMILE;
		case 4:
			return FontAwesomeIcon.HEART;
		case 3:
			return FontAwesomeIcon.FEMALE;
		case 2:
			return FontAwesomeIcon.MALE;
		case 8:
			return FontAwesomeIcon.FOOD;
		case 9:
			return FontAwesomeIcon.TROPHY;
		case 1:
			return FontAwesomeIcon.DESKTOP;
		default:
			break;
		}
		return null;

	}
	
}
